;interrupt vectors
Int0_rt					equ 0003h
timer0_rt				equ 000Bh
Int1_rt					equ	0013h
timer1_rt				equ	001Bh
serial_rt				equ	0023h
Int5_rt					equ 002Bh
Int6_rt					equ	0033h
Int7_rt					equ 003Bh
Int8_rt					equ	0043h
Int9_rt					equ	004Bh
Int10_rt				equ	0053h
Int11_rt				equ 005Bh
Int12_rt				equ 0063h
Int13_rt				equ 006Bh
NMI_rt					equ	0073h

Program_Start_Address	equ	0090h

; sfr define
;P0      DATA    80H
;SP      DATA    81H 
;DPL     DATA    82H 
;DPH     DATA    83H 
;DPL1    DATA	84H
;DPH1	DATA	85H
;PCON    DATA    87H 
;TCON    DATA    88H 
;TMOD    DATA    89H 
;TL0     DATA    8AH 
;TL1     DATA    8BH 
;TH0     DATA    8CH 
;TH1     DATA    8DH 
;P1      DATA    90H
MEX1	DATA	94H
MEX2	DATA	95H
MEX3	DATA	96H
MEXSP	DATA	97H
;SCON    DATA    98H 
;SBUF    DATA    99H 
;P2      DATA    0A0H
EO		DATA	0A2H
;IE      DATA    0A8H
;P3      DATA    0B0H
;IP      DATA    0B8H
;IPH		DATA	0B9H
;T2CON   DATA    0C8H
RCP2L   DATA    0CAH
RCP2H   DATA    0CBH
;TL2     DATA    0CCH
;TH2     DATA    0CDH
;PSW     DATA    0D0H
;ACC     DATA    0E0H
IE01		DATA	0E8H
;B       DATA    0F0H
IP1		DATA	0F8H
;IPH1	DATA	0F9H

;esfr address
SPI_PRER	DATA	8EH
SPI_CR		DATA	8FH
SPI_SR		DATA	91H
SPI_DATA	DATA	92H

SPI2_PRER	DATA	93H
SPI2_CR		DATA	94H
SPI2_SR		DATA	95H
SPI2_DATA	DATA	96H



